{% from "./heads.html" import head,foot,header,side,jslib %}
{% block head %}
{{ head(tpl)}}
{% endblock %}

<div id="master">
    {% block header %}
    {{ header()}}
    {% endblock %}

    {% block side %}
    {{ side(tpl) }}
    {% endblock %}
    <div class="main-content">
        {% block mainContent %}{% endblock %}
    </div>
</div>

{% block jslib %}
{{ jslib() }}
{% endblock %}
{% block mainjs %}{% endblock %}
{% block foot %}
{{ foot(tpl) }}
{% endblock %}